package org.onejava.core.bean;

import java.lang.reflect.Method;

import org.onejava.core.bean.imp.Entity;

public class InterceptorEntity implements Entity{
	private String name;
	private Object obj;
	private Method method;
	
	public InterceptorEntity(String interceptorName, Object obj, Method method) {
		name = interceptorName;
		this.obj = obj;
		this.method = method;
	}

	public String getName() {
		return name;
	}
	
	public Object getObj() {
		return obj;
	}
	
	public Method getMethod() {
		return method;
	}
	
	
}
